projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87c564e
)
range: No need to update mouse location when starting a drag
author
Benjamin Otte
<otte@redhat.com>
Sat, 29 Nov 2014 02:18:50 +0000
(
03:18
+0100)
committer
Benjamin Otte
<otte@redhat.com>
Sat, 29 Nov 2014 02:42:28 +0000
(
03:42
+0100)
The mouse position doesn't change here. Plus, all callers have just
updated it anyway.
gtk/gtkrange.c
patch
|
blob
|
history
diff --git
a/gtk/gtkrange.c
b/gtk/gtkrange.c
index 3b6def5f4fdd9769da7a4b7a8bc94d249267f505..4420140a030dd6b57a8ee2aa512e6ad323157bf8 100644
(file)
--- a/
gtk/gtkrange.c
+++ b/
gtk/gtkrange.c
@@
-2253,9
+2253,6
@@
range_grab_add (GtkRange *range,
*/
priv->grab_location = location;
- if (gtk_range_update_mouse_location (range))
- gtk_widget_queue_draw (GTK_WIDGET (range));
-
gtk_style_context_add_class (context, "dragging");
}